home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------
- //
- // Inventory.dmd - Mugs Sample Application
- //
- // Inventory Data Module for the Customer data entry form.
- //
- // Dependencies: MUGS.CDM
- // INVENTORY.DBF
- // SUPPLIER.DBF
- //
- // Visual dBASE Samples Group
- //
- // $Revision: 1.5 $
- //
- // Copyright (c) 1997, Borland International, Inc.
- // All rights reserved.
- //
- //---------------------------------------------------------------
- ** END HEADER -- do not remove this line
- //
- // Generated on 10/09/97
- //
- class InventoryDataModule of MUGSDATAMODULE from "mugs.cdm"
-
-
- this.SUPPLIER1 = new QUERY()
- this.SUPPLIER1.parent = this
- with (this.SUPPLIER1)
- left = 6
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "SUPPLIER.DBF"'
- active = true
- endwith
-
-
- this.INVENTORY1 = new QUERY()
- this.INVENTORY1.parent = this
- with (this.INVENTORY1)
- left = 2
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "INVENTORY.DBF"'
- active = true
- endwith
-
-
- with (this.INVENTORY1.rowset)
- fields["Supplier ID"].lookupSQL := 'SELECT supplier."Supplier ID", company FROM "supplier.dbf" supplier'
- endwith
-
- endclass
-